package com.ruoyi.school.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.school.mapper.DianzanMapper;
import com.ruoyi.school.domain.Dianzan;
import com.ruoyi.school.service.IDianzanService;

/**
 * 点赞模块Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-04-10
 */
@Service
public class DianzanServiceImpl implements IDianzanService 
{
    @Autowired
    private DianzanMapper dianzanMapper;

    /**
     * 查询点赞模块
     * 
     * @param id 点赞模块主键
     * @return 点赞模块
     */
    @Override
    public Dianzan selectDianzanById(Long id)
    {
        return dianzanMapper.selectDianzanById(id);
    }

    /**
     * 查询点赞模块列表
     * 
     * @param dianzan 点赞模块
     * @return 点赞模块
     */
    @Override
    public List<Dianzan> selectDianzanList(Dianzan dianzan)
    {
        return dianzanMapper.selectDianzanList(dianzan);
    }


}
